﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ucWebTitle.ascx.cs"
    Inherits="ExpertMIS.UserControl.ucWebTitle" %>
<style type="text/css">
    #webtitle-bg
    {
        height: 24px;
        background-image: url('<% Response.Write(ResolveUrl("~/imgs/social/webtitle_bg.gif")); %>');
        background-position: left top;
        background-repeat: repeat-x;
    }
    #webtitle-bg td
    {
        height: 24px;
    }
    #btnLogin
    {
        border: 0px;
        background-image: url('<% Response.Write(ResolveUrl("~/imgs/login.gif"));%>');
        background-repeat: no-repeat;
        background-position: left top;
        width: 51px;
        height: 20px;
    }
    #btnLogout
    {
        border: 0px;
        background-image: url('<% Response.Write(ResolveUrl("~/imgs/logout.gif"));%>');
        background-repeat: no-repeat;
        background-position: left top;
        width: 51px;
        height: 20px;
    }
</style>
<div id="webtitle-bg">
    <form id="frmLogin" action='<% Response.Write(ResolveUrl("~/LoginAction.ashx")); %>'
        method="post">
        <table cellpadding="0" cellspacing="0" style="float: left;">
            <tr>
                <td style="width: 130px; padding-left: 8px; height: 24px;">
                    <asp:Label runat="server" ID="lblUserStatus"></asp:Label>
                </td>
                <td style="width: 54px; text-align: right; height: 24px;">
                    用户名：
                </td>
                <td style="width: 104px; text-align: center; height: 24px;">
                    <input type="text" style="width: 100px; border: #c9ccd1 1px solid;" name="account" />
                </td>
                <td style="width: 50px; text-align: right; height: 24px;">
                    密码：
                </td>
                <td style="width: 104px; text-align: center; height: 24px;">
                    <input type="password" style="width: 100px; border: #c9ccd1 1px solid;" name="passwd" />
                </td>
                <td style="width: 64px; text-align: center; height: 24px;">
                    <input id="btnLogin" type="submit" value="" />
                </td>
                <td style="width: 64px; text-align: center; height: 24px;">
                    <input id="btnLogout" type="submit" value="" onclick="var f=$('#frmLogin');if(f.length==1){f[0].action='<% Response.Write(ResolveUrl("~/LogoutAction.ashx")); %>';f[0].submit();}" />
                </td>
            </tr>
        </table>
    </form>
    <table style="float: right;">
        <tr>
            <td style="width: 64px; vertical-align: middle; text-align: center">
                <a href="workships/default.aspx" target="_self">个人空间</a></td>
            <td style="width: 60px; text-align: center; vertical-align: middle;">
<a href="http://www.qjdj.gov.cn" target="_blank">曲靖党建</a>	            </td>
            <td style="width: 60px; text-align: center; vertical-align: middle;">
                <a href='<% Response.Write(ResolveUrl("~/OrganizationService.aspx")); %>'><span>服务人才</span></a>
            </td>
            <td style="width: 60px; text-align: center; vertical-align: middle;">
                <a href="#" onclick="window.external.AddFavorite('http://www.qjzjzx.com','曲靖人才双向服务平台')">
                    <span>加入收藏</span></a>
            </td>
        </tr>
    </table>
</div>
